package org.example.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author WZF
 * @since 2023-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("novel_item")
public class Item implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 小说名字
     */
    private String name;

    /**
     * 小说图片
     */
    private String img;

    /**
     * 小说分类
     */
    private String novelClass;

    /**
     * 小说ID
     */
    private String novelId;

    /**
     * 0连载1完结
     */
    private Integer state;

    /**
     * 小说字数
     */
    private Long wordNumber;

    /**
     * 简介
     */
    private String synopsis;

    /**
     * 最近更新时间
     */
    private LocalDate latelyUpdateTime;


}
